import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-05-07
 * Time: 22:53
 */
public class Test {
    public static void main(String[] args) {
        Sort sort = new Sort();
        int[] a = {10, 3, 1, 6, 4, 2, 8, 9, 5, 7};
        System.out.println(Arrays.toString(a));
//        sort.QuickSort(a);
//        sort.QuickSortNoRecursion(a);
//        sort.mergeSort(a);
        sort.mergeSortN(a);
        System.out.println(Arrays.toString(a));
    }
}
